package com.ruoyi.mall.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员优惠中间表对象 mall_members_package
 * 
 * @author ruoyi
 * @date 2020-05-25
 */
public class MallMembersPackage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户优惠券id */
    private Long id;

    /** 会员Id */
    @Excel(name = "会员Id")
    private Long membersId;

    /** 卷包Id */
    @Excel(name = "卷包Id")
    private Long packageId;

    /** 是否过期 */
    @Excel(name = "是否过期")
    private Long state;


    /** 购买金额 */
    @Excel(name = "购买金额")
    private Double money;

    private String couponStr;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMembersId(Long membersId) 
    {
        this.membersId = membersId;
    }

    public Long getMembersId() 
    {
        return membersId;
    }
    public void setPackageId(Long packageId) 
    {
        this.packageId = packageId;
    }

    public Long getPackageId() 
    {
        return packageId;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setMoney(Double money) 
    {
        this.money = money;
    }

    public Double getMoney() 
    {
        return money;
    }

    public String getCouponStr() {
        return couponStr;
    }

    public void setCouponStr(String couponStr) {
        this.couponStr = couponStr;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("membersId", getMembersId())
            .append("packageId", getPackageId())
            .append("createTime", getCreateTime())
            .append("state", getState())
            .append("money", getMoney())
            .toString();
    }
}
